

    .underline-container {
      text-align: center; /* จัดภาพให้อยู่กลาง */
    }

    .underline {
      width: 70%;    
      height: 3px;   
      background: #012f6c; 
      margin: 10px auto;   
    }


.textsubpot {
  font-size: 20px;
  padding: 0px 250px;
  color: #012f6c;
  text-indent: 30px;
  text-align: justify;
  text-align-last: left;
}
  
@media (max-width: 1500px) {

.underline {
  width: 90%;    
  height: 3px;   
  background: #012f6c; 
  margin: 10px auto;   
}

.textsubpot {
  font-size: 23px;
  padding: 2px 40px;
}

}

@media (max-width: 768px) {

.textsubpot {
  font-size: 15px;
  padding: 2px 45px;
}

}

@media (max-width: 400px) {
    .textsubpot {
        font-size: 15px;
        padding: 2px 25px;
    }
}



.textsubpot1 {
  font-size: 22px;
  padding: 2px 250px;
  color: #012f6c;
  text-align: center;
}
    

@media (max-width: 1500px) {

.textsubpot1 {
  font-size: 22px;
  padding: 2px 40px;
}

}



@media (max-width: 768px) {

.textsubpot1 {
  font-size: 15px;
  padding: 2px 30px;
}

}





.section_a {
  position: relative;
  margin-top: 0;
  background-color: #a5bef079;
  margin-bottom: 2%;
  padding: 20px;
}

.Card_4 h1 {
  font-weight: 600;
  color: #012f6c;
  font-size: 3rem;
  text-align: center;
}

.Card_4 h2 {
  font-weight: 600;
  color: #012f6c;
  font-size: 2.5rem;
  text-align: center;
}

.Card_4 h3 {
  font-weight: 600;
  color: #012f6c;
  font-size: 1.7rem;
  text-align: center;
}


 @media (max-width: 1050px) {


  .Card_4 h1 {
  font-weight: 600;
  color: #000000;
  font-size: 3.5rem;
  text-align: center;
}

.Card_4 h2 {
  font-weight: 600;
  font-size: 2.5rem;
  text-align: center;
}

.Card_4 h2 {
  font-weight: 600;
  font-size: 1.7rem;
  text-align: center;
}
}


  @media (max-width: 768px) {

    .section_a {
  position: relative;
  margin-top: 10%;
}


      .Card_4 h1 {
  font-weight: 600;
  color: #000000;
  font-size: 1.7rem;
  text-align: center;
}

.Card_4 h2 {
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
}

.Card_4 h3 {
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
}
  }

@media (max-width: 400px) {


      .Card_4 h1 {
  font-weight: 600;
  color: #000000;
  font-size: 1.6rem;
  text-align: center;
}

.Card_4 h2 {
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
}

.Card_4 h3 {
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
}

}







.img-3-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* ช่องว่างระหว่างคอลัมน์ */
  max-width: 1200px;
  justify-self: center;
}

.img-3-column {
  flex: 1 1 calc(33.333% - 16px); /* แบ่ง 3 คอลัมน์ */
}

.img-3-column img {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
}






@media (max-width: 768px) {
  .img-3-column {
    flex: 1 1 100%; 
    margin: 10px 30px;
  }
}


.img-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px; /* ช่องว่างระหว่างคอลัมน์ */
  max-width: 1200px;
  justify-self: center;
  margin: 0 10px;
}

.img-column {
  flex: 1 1 calc(33.333% - 16px); 
}

.img-column img {
  width: auto;
  height: auto;
  display: block;
  object-fit: cover;
}


@media (max-width: 768px) {
  .img-column {
    flex: 1 1 10%; 
  }
}